home *** CD-ROM | disk | FTP | other *** search
/ Atomic Clock 6 / Atomic Clock 6.iso / Unlock / EWD / up.cfg < prev    next >
Encoding:
Text File  |  2001-12-26  |  573 b   |  23 lines

  1. set $4 to isadmin ""             
  2. goto @adminerr if equal {$4} "0"        
  3.  
  4. set $4 to inifile {%windir}win.ini "TLC Options" "$sel1ewd"
  5. goto @setup if not equal {$4} ""
  6.  
  7. child upsell.exe sel1ewd
  8.  
  9. // Start setup if product has been purchased
  10. set $4 to inifile {%windir}win.ini "TLC Options" "$sel1ewd"
  11. goto @end if equal {$4} ""
  12.  
  13. @setup
  14. child "install\setup.exe" "-sms"
  15.  
  16. goto @end
  17.  
  18. @adminerr                     
  19. message "Error" "We're sorry, you must have be an administrator to install or run this program.  Please log on as an administrator and try again." 
  20. stop                     
  21.  
  22. @end
  23. stop